TimePunch Holiday Service
CountryDto
Diese Klasse enthält eine Länderdefinition.
Datatype | Name | Description |
---|---|---|
Guid | Id | Unique ID of the country |
String | Name | Name of the country, e.g. Deutschland |
RegionDto[] | Regions | List of Regions that belongs to the country (e.g. Hessen) |
RegionDto
Diese Klasse enthält Informationen zu einem Bundesland (z.B. Hessen) und ist meistens in einem CountryDTO Objekt eingebettet.
Datatype | Name | Description |
---|---|---|
Guid | Id | Unique ID of Region |
String | Name | Name of the Region |
PublicHolidayDto
Diese Klasse enthält Informationen zu einem Feiertag.
Datatype | Name | Description |
---|---|---|
Guid | CountryId | Unique ID of the Country |
String | Country | Name of the country |
Guid? | RegionId | Unique ID of the Region |
String | Region | Name of the region |
String | Name | Name of the public holiday |
Int? | ValidSinceYear | Year since the holiday is valid |
Int? | ValidUntilYear | Year until the holiday is valid |
Bool | IsHalfDay | True, if it’s only a half day holiday |
PublicHolidayType | PublicHolidayType | Type of the public holiday |
DateTime | Date | Date of the public holiday |
Bool | Reverse | True, indicates that the numbered holiday will be reversed. |
Int | Number | Number that is used for counting when used in numbered holidays |
DayOfWeek | Weekday | Weekday of the public holiday |
PublicHolidayDto | ReferencedHoliday | Referenced holiday if the current holiday is dependend on it |
string | ValidationInformation | Gets a string that defines when the holiday is valid |